﻿using System;
using Telerik.Sitefinity.Social.Resources;
using Telerik.Web;

namespace Telerik.Sitefinity.Social
{
    [AttributeUsage(AttributeTargets.Property)]
    internal class WebSysTemplate : EmbeddedTemplateAttribute
    {
        public WebSysTemplate(string resourceName, string description
            , string defaultExtPaht, bool isFrontEnd, string lastModified)
            : base(resourceName, description, defaultExtPaht, isFrontEnd, lastModified)
        {
        }

        public override string Description
        {
            get
            {
                return Messages.ResourceManager.GetString(base.Description);
            }
        }

        public override object TypeId
        {
            get
            {
                return typeof(EmbeddedTemplateAttribute);
            }
        }
    }
}
